package com.coco.admin;

import com.coco.common.util.TokenUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

/**
 * @Author: guofeng
 * @Date: 2021/07/14/18:52
 * @Description:
 */

@SpringBootApplication(scanBasePackages = "com.coco")
@EnableDiscoveryClient
@MapperScan("com.coco.admin.mapper")
public class CocoAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(CocoAdminApplication.class,args);
    }


    /**
     * 注入token工具类
     * @return
     */
//    @Bean
//    public TokenUtil tokenUtil(){
//        return new TokenUtil();
//    }
}
